/*    */ package com.cr.api.model;

import io.swagger.annotations.ApiModelProperty;

/*    */
/*    */ public class AddQuestionModel {
/*    */   @ApiModelProperty("用户Id")
/*    */   private Long userId;
/*    */   @ApiModelProperty("标题")
/*    */   private String title;
/*    */
/*    */   @ApiModelProperty("内容")
/*    */   private String content;
/*    */   
/*    */   public void setUserId(Long userId) {
/* 10 */     this.userId = userId;
/*    */   }
/*    */   
/*    */   public void setTitle(String title) {
/* 10 */     this.title = title;
/*    */   }
/*    */   
/*    */   public void setContent(String content) {
/* 10 */     this.content = content;
/*    */   }
/*    */   
/*    */   public boolean equals(Object o) {
/* 10 */     if (o == this)
/* 10 */       return true; 
/* 10 */     if (!(o instanceof AddQuestionModel))
/* 10 */       return false; 
/* 10 */     AddQuestionModel other = (AddQuestionModel)o;
/* 10 */     if (!other.canEqual(this))
/* 10 */       return false; 
/* 10 */     Object this$userId = getUserId(), other$userId = other.getUserId();
/* 10 */     if ((this$userId == null) ? (other$userId != null) : !this$userId.equals(other$userId))
/* 10 */       return false; 
/* 10 */     Object this$title = getTitle(), other$title = other.getTitle();
/* 10 */     if ((this$title == null) ? (other$title != null) : !this$title.equals(other$title))
/* 10 */       return false; 
/* 10 */     Object this$content = getContent(), other$content = other.getContent();
/* 10 */     return !((this$content == null) ? (other$content != null) : !this$content.equals(other$content));
/*    */   }
/*    */   
/*    */   protected boolean canEqual(Object other) {
/* 10 */     return other instanceof AddQuestionModel;
/*    */   }
/*    */   
/*    */   public int hashCode() {
/* 10 */     int PRIME = 59;
/* 10 */     int result = 1;
/* 10 */     Object $userId = getUserId();
/* 10 */     result = result * 59 + (($userId == null) ? 43 : $userId.hashCode());
/* 10 */     Object $title = getTitle();
/* 10 */     result = result * 59 + (($title == null) ? 43 : $title.hashCode());
/* 10 */     Object $content = getContent();
/* 10 */     return result * 59 + (($content == null) ? 43 : $content.hashCode());
/*    */   }
/*    */   
/*    */   public String toString() {
/* 10 */     return "AddQuestionModel(userId=" + getUserId() + ", title=" + getTitle() + ", content=" + getContent() + ")";
/*    */   }
/*    */   
/*    */   public Long getUserId() {
/* 15 */     return this.userId;
/*    */   }
/*    */   
/*    */   public String getTitle() {
/* 18 */     return this.title;
/*    */   }
/*    */   
/*    */   public String getContent() {
/* 21 */     return this.content;
/*    */   }
/*    */ }


/* Location:              D:\tmp\creditorRights-admin\BOOT-INF\lib\creditorRights-api-4.7.0.jar!\com\cr\api\model\AddQuestionModel.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */